package com.ca.project.Server.Modules.RepairInfo.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @PACKAGE_NAME: com.ca.project.Server.Modules.RepairInfo.PO
 * @NAME: CreateRepairInfoPO
 * @USER: ASUS
 * @DATE: 3/1/2025
 * @TIME: 下午4:05
 **/
@Data
@ApiModel(value = "创建维修订单")
public class CreateRepairInfoPO implements Serializable {

    private static final long serialVersionUID = 8768551230661886168L;

    @ApiModelProperty(value = "token", required = true)
    @NotBlank(message = "token不能为空")
    private String token;

    @ApiModelProperty(value = "电脑类型", required = true)
    @NotNull(message = "电脑类型不能为空")
    private Integer r_pc_type;

    @ApiModelProperty(value = "电脑型号", required = true)
    @NotBlank(message = "电脑型号不能为空")
    private String r_pc_name;

    @ApiModelProperty(value = "维修原因", required = true)
    @NotBlank(message = "维修原因不能为空")
    private String r_reason;

    @ApiModelProperty(value = "维修图片集合")
    @NotNull(message = "维修图片集合不能为空")
    private Object r_img_list;

    @ApiModelProperty(value = "维修预约时间", required = true)
    @NotNull(message = "维修预约时间不能为空")
    private Date r_reserve_time;

}
